package com.zz.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import com.zz.entity.Memberships;
import com.zz.entity.Students;
import com.zz.entity.StudentsSearch;

public interface StudentsService {
	public List<Students> findAll();
	
	/**
	 * 查询+分页
	 * @param s
	 * @param page
	 * @param limit
	 * @return
	 */
	Page<Students>find(StudentsSearch s, Integer page,Integer limit);
	//修改，添加
	Integer save(Students s,Memberships m);
	//删除
	Integer delete(Integer id);
	Integer count();
    //excel导入
	void getExcelStudents(MultipartFile file) throws Exception;
	
}
